﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clipper.Converters
{
    /// <summary>
    /// 冲洗瓶状态
    /// </summary>
    public class RinseFlaskStateConverter:AbstractConverters
    {
        public override object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {

            switch (value.ToString())
            {
                case "NORMAL":
                    return ""; ///Clipper;component/Skin/Icon/冲洗液瓶状态.png
                case "ERROR":
                    return "/Clipper;component/Skin/Icon/替换孵育箱图片2.jpg";
                case "ALERT":
                    return "/Clipper;component/Skin/Icon/冲洗液瓶状态2.jpg";
                default:
                    return "/Clipper;component/Skin/Icon/冲洗液瓶状态.png";
            }
        }

    }
}
